package cn.darkhorse.device.dao;

import cn.darkhorse.device.dto.LintDetectorDTO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LintDetectorDao {

        /**
         * 查询
         * @param dto
         * @return
         */
        @MapKey("id")
        List<Map<String,Object>> listAll(LintDetectorDTO dto);
        
        /**
         * 批次号下的数值
         * @param params
         * @return
         */
        List<Map<String,Object>> listByBatchNo(Map<String,Object> params);
        
        /**
         * 获取批次号
         * @return
         */
        List<String> batchNoList(String tableName);
        
        
}
